import BusyIndicator from "./components/BusyIndicator";

export default function App() {
  return (
    <div className="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 flex items-center justify-center p-8">
      <div className="bg-white rounded-2xl shadow-xl p-12 max-w-2xl w-full">
        <h1 className="text-center mb-12">Busy Indicator</h1>
        
        <div className="space-y-16">
          {/* Different sizes */}
          <div className="flex flex-col items-center gap-6">
            <h2 className="text-center">Small</h2>
            <BusyIndicator size={24} />
          </div>

          <div className="flex flex-col items-center gap-6">
            <h2 className="text-center">Medium (Default)</h2>
            <BusyIndicator size={40} />
          </div>

          <div className="flex flex-col items-center gap-6">
            <h2 className="text-center">Large</h2>
            <BusyIndicator size={64} />
          </div>

          {/* Example in context */}
          <div className="flex flex-col items-center gap-6">
            <h2 className="text-center">In Context</h2>
            <div className="bg-slate-50 rounded-lg p-8 w-full flex items-center justify-center gap-4">
              <BusyIndicator size={32} />
              <span className="text-slate-600">Loading your content...</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  );
}
